//
// Created by keep on 17-10-6.
//

#ifndef ITCUARTSERVICE_MAIN_H
#define ITCUARTSERVICE_MAIN_H

#include <iostream>
#include <cstring>

using namespace std;


#define MAX_BUF_LEN 2048

typedef struct process_mgr_st   *process_mgr_t;

typedef struct process_mgr_st{
    int com_fd;
    bool quitting;
    int cmd_type;
    pthread_t  master_tid;
    pthread_t  task_tid;
}PROCESS_MGR_ST;

#endif //ITCUARTSERVICE_MAIN_H
